package com.usian.controller;

import com.usian.service.UsianService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.usian.pojo.TbItem;

@RestController
@RequestMapping("/usian")
public class UsianController {
    @Autowired
    private UsianService usianService;
@RequestMapping("/findByid")
    public TbItem findByid(@RequestParam Long id){
    return usianService.findByid(id);
}


}
